class Config:
    SECRET_KEY = 'a hard to guess string needed here'
    SQLALCHEMY_DATABASE_URI = 'mysql://luohao:Luohao.618@mysql-master:3306/hrs'
    SQLALCHEMY_TRACK_MODIFICATIONS = False


class DevelopmentConfig(Config):
    DEBUG = True
    SQLALCHEMY_ECHO = True


class TestingConfig(Config):
    TESTING = True


class ProductionConfig(Config):
    pass


config = {
    'development': DevelopmentConfig,
    'testing': TestingConfig,
    'production': ProductionConfig,
    'default': DevelopmentConfig
}
